package com.cbw.blog.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cbw.blog.ResponseData.StaticticsBo;
import com.cbw.blog.entity.Article;
import com.cbw.blog.entity.Comment;
import org.springframework.stereotype.Service;

import java.util.List;


public interface ISiteService {
    Page<Comment> recentComments(int count);


    Page<Article> recentArticles(int count);


    StaticticsBo getStatistics();

     void updateStatistics(Article article);
}
